package vip.kqsy.cloud.blog.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import vip.kqsy.cloud.blog.server.pojo.dto.CarouselAddDTO;
import vip.kqsy.cloud.blog.server.pojo.dto.PageCarouselDTO;
import vip.kqsy.cloud.blog.server.pojo.entity.Carousel;
import vip.kqsy.cloud.blog.server.pojo.vo.PageCarouselVO;
import vip.kqsy.cloud.core.web.res.ResPage;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cenjunjie
 * @since 2023-06-23
 */
public interface CarouselService extends IService<Carousel> {

    void add(CarouselAddDTO dto);

    ResPage<PageCarouselVO> page(PageCarouselDTO dto);
}
